package bustime;

import com.andro.chansung.R;

import android.app.ActionBar;
import android.app.ActionBar.Tab;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;

public class BusTimeActivity extends Activity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.bus_time_layout);
		
		ActionBar actionBar = getActionBar();
		actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
		actionBar.setDisplayShowHomeEnabled(false);
		actionBar.setDisplayShowTitleEnabled(false);
		
		Tab tab = actionBar.newTab()
						   .setText("버스 시간 확인")
						   .setTabListener(new TabListener<BusSemesterFragment>(this, 
								   											   "bus semetser", 
								   											   BusSemesterFragment.class));
		actionBar.addTab(tab);
	}
}
